﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_NOTICE.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_NOTICE数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_NOTICE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_NOTICE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_NOTICE_Entity
	{
		#region 变量定义		
		///<summary>
		///公告编号
		///</summary>
		private long _nOTICEID;
		///<summary>
		///公告标题
		///</summary>
		private string _nOTICETITLE = String.Empty;
		///<summary>
		///公告内容
		///</summary>
		private object _nOTICECONTENT;
		///<summary>
		///生效开始时间
		///</summary>
		private DateTime? _eFFECTBEGINDATE;
		///<summary>
		///生效结束时间
		///</summary>
		private DateTime? _eFFECTENDDATE;
		///<summary>
		///部门编号
		///</summary>
		private long? _dEPARTMENTID = 0;
		///<summary>
		///部门名称
		///</summary>
		private string _dEPARTMENTNAME = String.Empty;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人姓名
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///登录名
		///</summary>
		private string _lOGINNAME = String.Empty;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_NOTICE_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///公告编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_NOTICE")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long NOTICEID
		{
			get {return _nOTICEID;}
			set { _nOTICEID = value; }
			
		}

		///<summary>
		///公告标题
		///</summary>		
		public string NOTICETITLE
		{
			get {return _nOTICETITLE;}
			set {
					_nOTICETITLE = value;
				}
			
		}

		///<summary>
		///公告内容
		///</summary>		
		public object NOTICECONTENT
		{
			get {return _nOTICECONTENT;}
			set { _nOTICECONTENT = value; }
			
		}

		///<summary>
		///生效开始时间
		///</summary>		
		public DateTime? EFFECTBEGINDATE
		{
			get {return _eFFECTBEGINDATE;}
			set { _eFFECTBEGINDATE = value; }
			
		}

		///<summary>
		///生效结束时间
		///</summary>		
		public DateTime? EFFECTENDDATE
		{
			get {return _eFFECTENDDATE;}
			set { _eFFECTENDDATE = value; }
			
		}

		///<summary>
		///部门编号
		///</summary>		
		public long? DEPARTMENTID
		{
			get {return _dEPARTMENTID;}
			set { _dEPARTMENTID = value; }
			
		}

		///<summary>
		///部门名称
		///</summary>		
		public string DEPARTMENTNAME
		{
			get {return _dEPARTMENTNAME;}
			set {
					_dEPARTMENTNAME = value;
				}
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人姓名
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///登录名
		///</summary>		
		public string LOGINNAME
		{
			get {return _lOGINNAME;}
			set {
					_lOGINNAME = value;
				}
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
